﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MagnOS.Command.ShellCommands
{
    class ClearScreen
    {
        public void PrintHelp()
        {
            Console.WriteLine("\n cls [/? \\ -h]\nClear the screen");
        }

        public void Proceed(string[] args)
        {
            Console.Clear();
        }

        public void Execute(string[] args)
        {
            if (args[1] == "/?" || args[1] == "-h")
            {
                PrintHelp();
                return;
            }

            Proceed(args);
        }
    }
}
